#ifndef __BSP_FLASH_H
#define __BSP_FLASH_H

// #include "includes\system.h"

#define FLASH_SIZE 32 //unit k - 1024bytes
#define FLASH_START_ADDR (0x00)
#define FLASH_MY_ADDR (0x01)
#define FLASH_RE_ADDR (0x04)

void BSP_Flash_Init(void);
signed char Flash_Read_LoraAddr(unsigned char addr,loraAddr_t *lora);
signed char Flash_Write_LoraAddr(unsigned char addr,loraAddr_t *lora);

#endif
